package EX.ex;

class Parent {
    void printMe() {
        System.out.println("parent"); }
}
class Child extends Parent {
    void printMe() {
        System.out.println("child");
    }
    void printAll() {
        super.printMe();
        this.printMe();
        printMe();
    }
}
 class T {
    public static void main(String args[]) {
        Child myC = new Child();
        myC.printAll();
    }
}